package cn.schoolwow.util.test.module.compare.instanceList.testcase;

import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;
import cn.schoolwow.util.test.module.compare.instanceList.flow.CompareInstanceListQueryProcessFlow;
import cn.schoolwow.util.test.module.compare.instanceList.flow.InitialCompareInstanceListDataFlow;

public class CompareInstanceListTestCaseFlow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        flowContext.startFlow(new InitialCompareInstanceListDataFlow())
                .next(new CompareInstanceListQueryProcessFlow())
                .execute();
    }

    @Override
    public String name() {
        return "比较实例列表测试用例";
    }
}
